package com.ls.controller.orderrecord.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class OrderRefundModel {
    /**
     * 订单id
     */
    @NotNull(message = "订单id不得为空")
    private Long  orderRecordId;
    /**
     * 退款金额
     */
    @NotNull(message = "退款金额不得为空")
    private BigDecimal money;
}
